﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200110D RID: 4365
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectPamSkinScRsp : IMessage<SelectPamSkinScRsp>, IMessage, IEquatable<SelectPamSkinScRsp>, IDeepCloneable<SelectPamSkinScRsp>, IBufferMessage
	{
		// Token: 0x1700374D RID: 14157
		// (get) Token: 0x0600C356 RID: 50006 RVA: 0x00210599 File Offset: 0x0020E799
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectPamSkinScRsp> Parser
		{
			get
			{
				return SelectPamSkinScRsp._parser;
			}
		}

		// Token: 0x1700374E RID: 14158
		// (get) Token: 0x0600C357 RID: 50007 RVA: 0x002105A0 File Offset: 0x0020E7A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectPamSkinScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700374F RID: 14159
		// (get) Token: 0x0600C358 RID: 50008 RVA: 0x002105B2 File Offset: 0x0020E7B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectPamSkinScRsp.Descriptor;
			}
		}

		// Token: 0x0600C359 RID: 50009 RVA: 0x002105B9 File Offset: 0x0020E7B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPamSkinScRsp()
		{
		}

		// Token: 0x0600C35A RID: 50010 RVA: 0x002105C1 File Offset: 0x0020E7C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPamSkinScRsp(SelectPamSkinScRsp other) : this()
		{
			this.curPamSkinId_ = other.curPamSkinId_;
			this.retcode_ = other.retcode_;
			this.selectPamSkinId_ = other.selectPamSkinId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C35B RID: 50011 RVA: 0x002105FE File Offset: 0x0020E7FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPamSkinScRsp Clone()
		{
			return new SelectPamSkinScRsp(this);
		}

		// Token: 0x17003750 RID: 14160
		// (get) Token: 0x0600C35C RID: 50012 RVA: 0x00210606 File Offset: 0x0020E806
		// (set) Token: 0x0600C35D RID: 50013 RVA: 0x0021060E File Offset: 0x0020E80E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurPamSkinId
		{
			get
			{
				return this.curPamSkinId_;
			}
			set
			{
				this.curPamSkinId_ = value;
			}
		}

		// Token: 0x17003751 RID: 14161
		// (get) Token: 0x0600C35E RID: 50014 RVA: 0x00210617 File Offset: 0x0020E817
		// (set) Token: 0x0600C35F RID: 50015 RVA: 0x0021061F File Offset: 0x0020E81F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003752 RID: 14162
		// (get) Token: 0x0600C360 RID: 50016 RVA: 0x00210628 File Offset: 0x0020E828
		// (set) Token: 0x0600C361 RID: 50017 RVA: 0x00210630 File Offset: 0x0020E830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SelectPamSkinId
		{
			get
			{
				return this.selectPamSkinId_;
			}
			set
			{
				this.selectPamSkinId_ = value;
			}
		}

		// Token: 0x0600C362 RID: 50018 RVA: 0x00210639 File Offset: 0x0020E839
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectPamSkinScRsp);
		}

		// Token: 0x0600C363 RID: 50019 RVA: 0x00210648 File Offset: 0x0020E848
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectPamSkinScRsp other)
		{
			return other != null && (other == this || (this.CurPamSkinId == other.CurPamSkinId && this.Retcode == other.Retcode && this.SelectPamSkinId == other.SelectPamSkinId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C364 RID: 50020 RVA: 0x002106A4 File Offset: 0x0020E8A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CurPamSkinId != 0U)
			{
				num ^= this.CurPamSkinId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.SelectPamSkinId != 0U)
			{
				num ^= this.SelectPamSkinId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C365 RID: 50021 RVA: 0x00210715 File Offset: 0x0020E915
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C366 RID: 50022 RVA: 0x0021071D File Offset: 0x0020E91D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C367 RID: 50023 RVA: 0x00210728 File Offset: 0x0020E928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SelectPamSkinId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.SelectPamSkinId);
			}
			if (this.CurPamSkinId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.CurPamSkinId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C368 RID: 50024 RVA: 0x002107A0 File Offset: 0x0020E9A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CurPamSkinId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurPamSkinId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.SelectPamSkinId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SelectPamSkinId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C369 RID: 50025 RVA: 0x00210810 File Offset: 0x0020EA10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectPamSkinScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CurPamSkinId != 0U)
			{
				this.CurPamSkinId = other.CurPamSkinId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.SelectPamSkinId != 0U)
			{
				this.SelectPamSkinId = other.SelectPamSkinId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C36A RID: 50026 RVA: 0x00210874 File Offset: 0x0020EA74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C36B RID: 50027 RVA: 0x00210880 File Offset: 0x0020EA80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 32U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.CurPamSkinId = input.ReadUInt32();
					}
				}
				else
				{
					this.SelectPamSkinId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004ED7 RID: 20183
		private static readonly MessageParser<SelectPamSkinScRsp> _parser = new MessageParser<SelectPamSkinScRsp>(() => new SelectPamSkinScRsp());

		// Token: 0x04004ED8 RID: 20184
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004ED9 RID: 20185
		public const int CurPamSkinIdFieldNumber = 4;

		// Token: 0x04004EDA RID: 20186
		private uint curPamSkinId_;

		// Token: 0x04004EDB RID: 20187
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04004EDC RID: 20188
		private uint retcode_;

		// Token: 0x04004EDD RID: 20189
		public const int SelectPamSkinIdFieldNumber = 3;

		// Token: 0x04004EDE RID: 20190
		private uint selectPamSkinId_;
	}
}
